package jk.zmn.service.impl;

import jk.zmn.dao.IAdminDao;
import jk.zmn.entity.Admin;
import jk.zmn.service.IAdminService;

public class AdminService implements IAdminService{

	private IAdminDao adminDao;
	public void setAdminDao(IAdminDao adminDao) {
		this.adminDao = adminDao;
	}
	public Admin findByAdmin(Admin admin) {
		
		return adminDao.findByAdmin(admin);
	}
	public void save(Admin admin) {
		adminDao.save(admin);
		
	}



}
